/*

class arrays<T> {

    public T[] array = (T[])new Object[10];
    public Object getPos(int pos) {
        return this.array[pos];
    }
    public void setVal(int pos,T val) {
        this.array[pos] = val;
    }
}


public class Test {
    public static void main(String[] args) {
        arrays<String> arr = new arrays<>();
        arr.setVal(0,"ss");
        arr.setVal(1,"sss");
Object ret = arr.getPos(0);
        System.out.println(arr.getPos(0));


        */
/*arrays arr = new arrays();
        arr.setVal(0,1);
        arr.setVal(1,"str");
        String ret = (String) arr.getPos(1);
        System.out.println(ret);*//*

      */
/*  Integer i = 10;
        int ii = i.intValue();
        System.out.println(ii);
        int s = 20;
        Integer ss = Integer.valueOf(s);
        System.out.println(ss);*//*

    }

}
*/

import java.util.ArrayList;

/*
public class Test {
    public boolean contains(int toFind) {
        for (int i = 0; i < DEFAULT_CAPACITY ;i++) {
            if(array[i] == toFind) {
                return  true;
            }
        }
        return false;
    }
    public int indexof(int toFind) {
        for (int i = 0; i < DEFAULT_CAPACITY ;i++) {
            if(array[i] == toFind) {
                return  i;
            }
        }
        return -1;
    }
    public static void main(String[] args) {

    }
}*/
public class Test {
    public static ArrayList<Character> func(String str1, String str2) {
        ArrayList<Character> arrayList = new ArrayList<>();

        for (int i = 0;i < str1.length(); i++) {
            if (str2.contains(str1.charAt(i)))

        }

    }
    public static void main(String[] args) {

    }
}